#!/bin/bash
for i in `lsdev -Cc adapter -l fcs\* | cut -d' ' -f1`; do fcstat -e $i | egrep -i 'node|speed'|sed "s/^/$i /g" |xargs; done | awk '{print $1" WWN: "$6" supported: "$11" running: "$(NF - 1)}'
